package ru.nagakhl.whirlpool.exceptions;

/**
 * Exception, indicating that some mapping errors occurred. Probably incorrect mapping
 * annotations use detected or object with missing annotations passed to connection.
 * 
 * @author nagakhl
 *
 */
public class MappingException extends RuntimeException {

	private static final long serialVersionUID = 1L;

	public MappingException() {
		super("Object to storage model mapping error.");
	}

	public MappingException(String message) {
		super(message);
	}

	public MappingException(Throwable cause) {
		super("Object to storage model mapping error. See cause for details.", cause);
	}

	public MappingException(String message, Throwable cause) {
		super(message, cause);
	}

}
